package com.ophiux.wechat.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * @desc:问题-答案记录表
 * @autor: hhl
 * @date: 2023-07-19 14:57:15<br>
 */
@Data
@Accessors(chain = true)
@TableName("ophiux_problem_answer")
@KeySequence(value = "SEQ_OPHIUX_PROBLEM_ANSWER")
public class OphiuxProblemAnswer {

//    @TableId(type = IdType.INPUT)
    @TableId
    @ApiModelProperty(value="主键id",hidden = true)
    private Integer id;

    @ApiModelProperty(value="回答记录id",hidden = true)
    private Integer answerRecordId;

    @ApiModelProperty(value="问题id")
    private Integer problemId;

    @ApiModelProperty(value="答案ids")
    private String answerIds;

    @ApiModelProperty(value="答案中文描述")
    private String answer;

    @ApiModelProperty(value="创建时间",hidden = true)
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private String createdTime;

    @ApiModelProperty(value="修改时间",hidden = true)
    private String updatedTime;

}
